<nav
    class="toolbarDesktop-container pm_toolbar pm_toolbar_withSelector">

    <span class="pm_buttons back" ng-if="idDefined() &&  viewLayout === 1">
        <a href="#" ng-click="back()" pt-tooltip-translate="Back to list" pt-tooltip-translate-context="Action">
            <i class="fa fa-long-arrow-left"></i>
            <span class="sr-only" translate-context="Action" translate>Back to list</span>
        </a>
    </span>

    <elements-selector
        ng-if="displayPaginator()"
        class="toolBar-select-all"></elements-selector>

    <read-unread></read-unread>
    <move-element></move-element>

    <div class="pm_buttons">
        <div id="tour-folder-dropdown" class="pm_buttons" ng-class="{disabled: isDisabled()}">
            <a
                class="pm_trigger open-folder toolbarDesktop-select-folder"
                data-dropdown
                data-dropdown-no-auto-close="true"
                ng-class="{disabled: isDisabled()}"
                pt-tooltip-translate="Move to"
                pt-tooltip-translate-context="Action toolbar"
                tabindex="0"
                role="button">
                <i class="fa fa-folder"></i>
                <i class="fa fa-angle-down"></i>
                <span class="sr-only" translate-context="Action toolbar" translate>Move to</span>
            </a>
            <div class="pm_dropdown wide">
                <dropdown-folders
                    class="toolbarDesktop-dropdown-folders"
                    data-elements="getElements"></dropdown-folders>
            </div>
        </div>

        <div id="tour-label-dropdown" class="pm_buttons" ng-class="{disabled: isDisabled()}">
            <a
                class="pm_trigger open-label toolbarDesktop-select-label"
                data-dropdown
                data-dropdown-no-auto-close="true"
                ng-class="{disabled: isDisabled()}"
                pt-tooltip-translate="Label as"
                pt-tooltip-translate-context="Action toolbar"
                tabindex="0"
                role="button">
                <i class="fa fa-tag"></i>
                <i class="fa fa-angle-down"></i>
                <span class="sr-only" translate-context="Action toolbar" translate>Label as</span>
            </a>
            <div class="pm_dropdown wide">
                <dropdown-labels
                    class="toolbarDesktop-dropdown-labels"
                    data-messages="getElements"
                    data-save="saveLabels"></dropdown-labels>
            </div>
        </div>
    </div>

    <advanced-filter-element></advanced-filter-element>

    <div class="pull-right action toolbarDesktop-actions-right">
        <choose-layout-btns id="tour-layout"></choose-layout-btns>
        <nav-elements></nav-elements>
        <paginator ng-if="displayPaginator()"></paginator>
    </div>
</nav>
